@use 'sass:color';
.question-and-answer-page{
    .wxshare-wrap{
        position: absolute;
        background-color: #fff;
        min-height: 100vh;
        top: 0;
        left: 50%;
        width: 640px;
        margin-left: -320px;
        transform-origin: 0% 0%;
        .banner{
            position: relative;
            height: 360px;
            background: linear-gradient(to bottom, rgba(144,180,206, 0.4), rgba(144,180,206, 1));
            margin-bottom: 25px;
        }
        .people{
            position: absolute;
            top: 0;
            left: 0;
            width: 55%;
            bottom: 0;
            //outline: 1px solid #f00;
            background-image: url('@/assets/kj/yutong.png');
            background-size: auto 100%;
            background-position: center center;
            background-repeat: no-repeat;
        }
        .top-text{
            position: absolute;
            // outline: 1px solid #f00;
            top: 12px;
            right: 15px;
            display: flex;
            >div:nth-of-type(1){
                // outline: 1px solid #f00;
                background-color: color.adjust(rgb(144,180,206), $lightness: -10%);
                color: #fff;
                font-size: 28px;
                flex: none;
                width: 42px;
                text-align: center;
                line-height: 1.2;
                padding: 10px 5px;
                border-radius: 20px;
                margin-right: 10px;
            }
            >div:nth-of-type(2){
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                p{
                    font-weight: bold;
                    font-size: 30px;
                    letter-spacing: 12px;
                    padding-left: 8px;
                }
                span{
                    font-weight: bold;
                    transform: scaleX(0.84);
                }
            }
        }
        .middle-text{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: absolute;
            // outline: 1px solid #f00;
            height: 150px;
            margin-top: -75px;
            right: 10px;
            width: 50%;
            top: 60%;
            text-align: center;
            >div:nth-of-type(1){
                font-size: 45px;
                letter-spacing: 5px;
                font-weight: bold;
            }
            >div:nth-of-type(2){
                font-size: 30px;
                color: #4d4d4d;
                em{
                    font-weight: bold;
                    font-size: 46px;
                    margin-right: 10px;
                    letter-spacing: 4px;
                    color: #fff;
                }
            }
        }
        .tag{
            position: absolute;
            // outline: 1px solid #f00;
            width: 70px;
            height: 70px;
            left: -70px;
            top: 20px;
            text-align: center;
            i{
                position: absolute;
                top: -28px;
                left: -5px;
                width: 100%;
                height: 100%;
                z-index: 1;
                font-size: 80px;
                color: rgb(144,180,206);
            }
            span{
                position: relative;
                z-index: 2;
                line-height: 50px;
                color: #fff;
                font-size: 36px;
            }
        }
        .question,.answer{
            position: relative;
            min-height: 80px;
            // outline: 1px solid #f00;
            padding: 30px 32px 22px 30px;
            margin-left: 100px;
            margin-right: 24px;
            .input{
                padding: 10px;
                border-radius: 4px;
                will-change: box-shadow;
                transition: box-shadow 0.2s ease-in-out;
                font-size: 18px;
                &:focus{
                    outline: none;
                    box-shadow: 0 0 0 1px rgba(#ed7020, 0.55);
                    border-color: transparent;
                }
                div:not(:last-child){
                    margin: 8px 0;
                }
            }
        }
        .question{
            margin-bottom: 20px;
            border-bottom: 3px dashed #4d4d4d;
            padding-bottom: 42px;
            .input{
                font-weight: bold;
                font-size: 20px;
            }
        }
        .qrcode-img{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-top: 40px;
            margin-bottom: 40px;
            // outline: 1px solid #f00;
            div{
                font-size: 18px;
                letter-spacing: 4px;
                color: color.adjust(rgb(144,180,206), $lightness: -20%);;
            }
            img{
                margin-top: 15px;
                width: 190px;
                height: 190px;
                border: 2px solid rgb(144,180,206);
                // outline: 1px solid #f00;
            }
        }
    }
}

@media screen and (max-width: 640px) {
    .question-and-answer-page{
        .wxshare-wrap{
            top: 0;
            left: 0;
            margin-left: 0;
        }
    }
}